package model.Service;

import model.DAO.StaffInfoDAO;
import model.Entity.Web.StaffInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("StaffInfoService")
public class StaffInfoService {
	
	@Autowired
	StaffInfoDAO staffInfoDAO;
	
	public StaffInfo getByInstrcutorId(Integer instructorId){
		return staffInfoDAO.findByInstructorId(instructorId);
	}

}
